﻿using System;
using System.Collections.Generic;
namespace ZhangZhao.Model
{
    /// <summary>
    /// H_User:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class H_User
    {
        public H_User()
        { }
        #region Model
        private int _id;
        private string _username;
        private string _password;
        private DateTime _createdtime;
        private bool _iseffective;
        private DateTime? _birthday;
        private string _sex;
        private string _signature;
        /// <summary>
        /// 自增长ID
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime
        {
            set { _createdtime = value; }
            get { return _createdtime; }
        }
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsEffective
        {
            set { _iseffective = value; }
            get { return _iseffective; }
        }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday
        {
            set { _birthday = value; }
            get { return _birthday; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 个性签名
        /// </summary>
        public string Signature
        {
            set { _signature = value; }
            get { return _signature; }
        }
        #endregion Model

    }


    /// <summary>
    /// 用户当前基本信息
    /// </summary>
    [Serializable]
    public class UserCurrentInfo
    {
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday
        {
            get;
            set;
        }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex
        {
            get;
            set;
        }
        /// <summary>
        /// 个性签名
        /// </summary>
        public string Signature
        {
            get;
            set;
        }

        /// <summary>
        /// 头像图片名称
        /// </summary>
        public string Avatar
        {
            set;
            get;
        }
        /// <summary>
        /// 头像缩略图名称
        /// </summary>
        public string AvatarThumb
        {
            set;
            get;
        }
        /// <summary>
        /// 头像大图名称
        /// </summary>
        public string AvatarLarge
        {
            set;
            get;
        }
        /// <summary>
        /// 上传头像时间
        /// </summary>
        public DateTime CreatedTime
        {
            set;
            get;
        }
        /// <summary>
        /// 头像被浏览次数
        /// </summary>
        public int ViewCount
        {
            set;
            get;
        }

        /// <summary>
        /// Email
        /// </summary>
        public string Email
        {
            set;
            get;
        }
        /// <summary>
        /// 联系电话1
        /// </summary>
        public string Phone1
        {
            set;
            get;
        }
        /// <summary>
        /// 联系电话2
        /// </summary>
        public string Phone2
        {
            set;
            get;
        }
        /// <summary>
        /// 新浪微博账号
        /// </summary>
        public string WeiBo
        {
            set;
            get;
        }
        /// <summary>
        /// 微信账号
        /// </summary>
        public string WeiXin
        {
            set;
            get;
        }
        /// <summary>
        /// QQ号码
        /// </summary>
        public string QQ
        {
            set;
            get;
        }
        /// <summary>
        /// 个人主页
        /// </summary>
        public string Website
        {
            set;
            get;
        }
        /// <summary>
        /// 住址
        /// </summary>
        public string HomeAddress
        {
            set;
            get;
        }
        /// <summary>
        /// 所在省
        /// </summary>
        public string Province
        {
            set;
            get;
        }
        /// <summary>
        /// 所在市
        /// </summary>
        public string City
        {
            set;
            get;
        }
        /// <summary>
        /// 所在区县
        /// </summary>
        public string District
        {
            set;
            get;
        }

        /// <summary>
        /// 关注的用户数量
        /// </summary>
        public int FollowList { get; set; }

        /// <summary>
        /// 粉丝数量
        /// </summary>
        public int FanList { get; set; }

        /// <summary>
        /// 黑名单数量
        /// </summary>
        public int BlackList { get; set; }

        /// <summary>
        /// 收藏数量
        /// </summary>
        public int GatherList { get; set; }
    }
}

